package cn.tedu.log.controller

import org.springframework.web.bind.annotation.RestController
import cn.tedu.log.service.LogService
import org.springframework.beans.factory.annotation.Autowired
import javax.servlet.http.HttpServletRequest
import org.springframework.web.bind.annotation.RequestMapping

@RestController
class LogController {
  @Autowired
  private var logService: LogService = _
  @RequestMapping(Array("/FluxLogServer/manage/LogServlet"))
  def LogServlet(req: HttpServletRequest) { logService.LogServlet(req) }
}